<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp" %>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<title>注册 - 用户中心</title>
	<%@ include file="/common/include/tittle.jsp" %>
</head>				 
<body>
	<!-- 网页头部开始 -->
	<%@ include file="/common/include/header.jsp" %>
	<!-- 网页头部结束 -->
	<!-- 注册体 -->
	<div class="container">
		<div class="col-sm-8 col-sm-offset-1">
			<form id="form" class="form-horizontal" method="post" action="${rootpath }/registerSubmit.htm">
				<h2 class="col-sm-offset-1 form-signin-heading">注册</h2>
				<div class="form-group">
					<label for="email" class="col-sm-2 control-label">邮箱</label>
					<div class="col-sm-8">
						<input type="text" name="email" id="email" value="" class="form-control" placeholder="邮箱">
					</div>
				</div>
				<div class="form-group">
					<label for="password" class="col-sm-2 control-label">密码</label>
					<div class="col-sm-8">
						<input type="password" name="password" id="password" class="form-control" placeholder="密码">
					</div>
				</div>
				<div class="form-group">
					<label for="confirmPassword" class="col-sm-2 control-label">确认密码</label>
					<div class="col-sm-8">
						<input type="password" name="confirmPassword" id="confirmPassword" class="form-control" placeholder="确认密码">
					</div>
				</div>
				<div class="form-group">
					<label for="code" class="col-sm-2 control-label">验证码</label>
					<div class="col-sm-8">
						<div class="input-group">
							<span class="input-group-addon"> <a href="#" tabindex="-1" onclick="return refreshCode('imgCode');"> 
							<img id="imgCode" src="${rootpath }/randImg.htm" title="点击刷新验证码" width="75" height="20">
							</a>
							</span> <input type="text" name="code" id="code" class="form-control" placeholder="验证码">
						</div>
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-8 col-sm-offset-2">
						<button class="btn btn-lg btn-primary" type="submit">提交注册信息</button>
						<a href="${rootpath }/login.htm" class="btn btn-lg btn-primary">登陆</a>
					</div>
				</div>
			</form>
		</div>
	</div>

	<!-- 页脚开始 -->
	<%@ include file="/common/include/footer.jsp" %>
	<!-- 页脚结束 -->
</body>
</html>